﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NetworkPower.DataModel.Models.Mapping
{
    public class DeviceLooplineMap : EntityTypeConfiguration<DeviceLoopline>
    {
        public DeviceLooplineMap()
        {
            this.HasKey(t => t.ID);

            this.Property(t => t.DeviceID).HasColumnName("DeviceID");

            this.Property(t => t.LoopLineID).HasColumnName("LoopLineID");
        }
    }
}
